<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>预估收入明细</title>
    <link rel="stylesheet" href="../common/bootstrap/dist/css/bootstrap.css">
    <link rel="stylesheet" href="../common/datetimepicker/css/bootstrap-datepicker.min.css">
    <link rel="stylesheet" href="../css/aui.2.0.css">
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/alert.css">
    <link rel="stylesheet" href="../css/generalize_detail.css">
</head>
<body>
<header class="aui-bar aui-bar-nav" id="aui-header" style="position:fixed;">
    <div class="aui-col-xs-3 my-col-xs-3">
        <i class="aui-iconfont aui-icon-left"></i>
    </div>
    <div class="aui-title my-aui-title">预估收入明细</div>
</header>
<section id="total-box" style="margin-top:2.2rem;">

    <section class="total-sales-box">
        <div class="total-sales">0</div>
        <div class="total-name">( 预计收入 )</div>
    </section>
   <div style="background-color: #fff;margin-top:0.3rem;">
	   	 <section class="total-select-box">
	   	 	 <div class="select-box">
	            <select name="" id="total-select">
	                <option value="">全部</option>
	                <option value="1">已结算</option>
	                <option value="0">未结算</option>
	            </select>
        	</div>
	        <div class="select-datetime">
	            <input type="text" class="form-control" placeholder="开始日期" id="starttime" readonly>
	            <span>/</span>
	            <input type="text" class="form-control" id="endtime" placeholder="结束日期" readonly>
	        </div>
		   
	    </section>
	     <section class="total-select-box">
       <div class="aui-searchbar" id="search">
            <div class="aui-searchbar-input aui-border-radius">
                <form class="search-form">
                    <i class="aui-iconfont aui-icon-search"></i>
                    <input type="search" placeholder="请输入订单号查询" id="search-input" autocomplete="off">
                    <div class="aui-searchbar-clear-btn" id="clean-search">
                        <i class="aui-iconfont aui-icon-close"></i>
                    </div>
                </form>
           	</div>
       	</div>
	    <div class="aui-searchbar-btn aui-text-info" tapmode>查询</div>
    	</section>
   </div>
  
    <ul id="total-data">


    </ul>
    <div class="none-data">
        暂无订单记录
    </div>
    <div class="loading">加载更多...</div>
    <div class="no-info">没有更多数据了...</div>
</section>

<script id="total-template" type="text/x-handlebars-template">
    {{#each orders}}
    <div class="have-search-data">
        <p class="search-data-info">
            <span>{{orderDate}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;订单号码:{{orderNum}}</span>
           
        </p>
        <p class="search-data-info">
			{{#if_eq isGive 0}}
				{{#if_eq isCancel 1}}
					<span>{{note}}</span>
				{{else}}
          	 	 <span>{{note}}<span style="color:red;">未结算</span></span>
				{{/if_eq}}
            {{else}}
				<span>{{note}}<span style="color:green;">已结算</span></span>
			{{/if_eq}}
        </p>
    </div>
    {{/each}}
</script>
<script src="../js/jquery-3.0.0.min.js"></script>
<script src="../js/config.js"></script>
<script src="../js/alert.js"></script>
<script src="../js/function.js"></script>
<script src="../js/common.js"></script>
<script src="../js/handlebars-v4.0.10.js"></script>
<script src="../common/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../common/datetimepicker/js/bootstrap-datepicker.min.js"></script>
<script src="../common/datetimepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script src="../js/estimate_detail.js"></script>
</body>
</html>